package com.zhu.bitcom.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("bitcom_user_info")
public class UserInfo implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String salt;

    private String userName;

    private String nickname;

    private String password;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer status;

    private String email;

    private String phone;

    private String address;

    private String avatar;//头像

    private String role;//角色

    private String remark;//备注

}
